package com.glela.platform.model;

/**
 * @author ChengZheQUan 用户用户收货地址表
 */
public class UserAddress {

	private Long id;
	private Long userId;// 用户id
	private String linkMan;// 联系人
	private String mobile;// 手机号码
	private String province;// 省份
	private String city;// 城市
	private String area;// 区县
	private String street;// 街道
	private String address;// 详细地址
	private int isDefault;// 是否为默认1默认0不；
	private String idNumber;// 身份证号码
	private int isNeedCheck;// 1 需要验证 0不需要认证
//	private int code;// 验证结果
//	private String message;// 验证结果
	private int verifyNumber;// 剩余验证次数
	// private int type;// 类型 0普通地质1海淘地址
	// private String idCardFront;// 身份证正面
	// private String idCardBack;// 身份证反面

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Long getUserId() {
		return userId;
	}

	public void setUserId(Long userId) {
		this.userId = userId;
	}

	public String getLinkMan() {
		return linkMan;
	}

	public void setLinkMan(String linkMan) {
		this.linkMan = linkMan;
	}

	public String getMobile() {
		return mobile;
	}

	public void setMobile(String mobile) {
		this.mobile = mobile;
	}

	public String getProvince() {
		return province;
	}

	public void setProvince(String province) {
		this.province = province;
	}

	public String getCity() {
		return city;
	}

	public void setCity(String city) {
		this.city = city;
	}

	public String getArea() {
		return area;
	}

	public void setArea(String area) {
		this.area = area;
	}

	public String getStreet() {
		return street;
	}

	public void setStreet(String street) {
		this.street = street;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public int getIsDefault() {
		return isDefault;
	}

	public void setIsDefault(int isDefault) {
		this.isDefault = isDefault;
	}

	/**默认返回""*/
	public String getIdNumber() {
		return idNumber==null?"":idNumber;
	}

	public void setIdNumber(String idNumber) {
		this.idNumber = idNumber;
	}

	public int getIsNeedCheck() {
		return isNeedCheck;
	}

	public void setIsNeedCheck(int isNeedCheck) {
		this.isNeedCheck = isNeedCheck;
	}

	/*public int getCode() {
		return code;
	}

	public void setCode(int code) {
		this.code = code;
	}

	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}*/

	public int getVerifyNumber() {
		return verifyNumber;
	}

	public void setVerifyNumber(int verifyNumber) {
		this.verifyNumber = verifyNumber;
	}
}
